package com.luyu.querydsldemo.entity;

import jakarta.persistence.Column;
import jakarta.persistence.Entity;
import jakarta.persistence.Table;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author luYu
 */
@EqualsAndHashCode(callSuper = true)
@Table
@Entity
@Data
public class UserRole extends BaseEntity{
    @Column(name = "role_id")
    private Long roleId;
    @Column(name = "user_id")
    private Long userId;
}
